<%@page contentType="text/html;charset=UTF-8"%>
<%@include file="/taglib.jsp"%>
<!DOCTYPE html>
<html lang="zh-cn">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>51家庭管家，专注高端家政和健康管理-开启您的无忧生活</title>

    <!-- Bootstrap -->
    <link href="${platform}/css/libs/zui.min.css" rel="stylesheet">
    <link href="${platform}/css/libs/zui-override.min.css" rel="stylesheet">
    <link href="${platform}/css/common.min.css" rel="stylesheet">
    <link href="${platform}/css/admin-login.css" rel="stylesheet">
    <!--[if lt IE 9]>
    <script src="${platform}/js/libs/html5shiv.js"></script>
    <script src="${platform}/js/libs/respond.js"></script>
    <![endif]-->
    
    <script>
		if(location.href!=top.location.href){
			//top.location.href = '${platform}/login?ref=${path}' + top.location.href.replace("${CONTEXT_WEBPATH}","");
			top.location.href = '${platform}/login?ref=' + top.location.href;
		}
		var _ref = "${ref}";
	</script>

  </head>
  <body>
    <div class="wrap">
      <form id="loginForm">
      	  <input type="hidden"  name="autologin" />
          <div class="header">
            <img src="images/login_logo.png" class="logo">
          </div>
          <div class="main-content">
            <div class="login-wrap">
              <p>
                <input type="text" name="account" id="account" autocomplete="off" value="${auto_account}" placeholder="用户名" class="default-input">
              </p>
              <p>
                <input type="password" name="password" id="password" autocomplete="off" value="" placeholder="密码" class="default-input">
              </p>
              <p class="clearfix">
                <input type="text" name="code" id="code" autocomplete="off" value="" placeholder="验证码" class="short-input">
                <img id="verifyimage" src="verifyimage" class="validateCode pull-right"  />
              </p>
              <p>
              	<label for="autologin">
              		<input type="checkbox" id="autologin"  ${autologin==2?'checked':''} class="cm-mr5"/>记住账号
              	</label>
              </p>
              <p>
                <a href="javascript:void(0);" id="login" class="btn-login-confirm">登录</a>
              </p>
            </div>
          </div>
          <div class="footer">
            <p class="copyright">@2014-2016&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;51家庭管家管理版权所有&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.miitbeian.gov.cn/">粤ICP备15004861号</a></p>
          </div>
      </form>
    </div>
      
    <script src="${platform}/js/libs/jquery.min.js"></script>
    <script src="${platform}/js/libs/zui.min.js"></script>
    <script src="${platform}/js/util/util.js"></script>
    <script src="${platform}/js/views/login.js"></script>
  </body>
</html>